Webgpu variable length buffer - #9086
Conversation
|
@aashu2006 lmk what you think of the design decisions here! |
|
@davepagurek I had a read, the indirect draw path is really nice copying the atomic length straight into two things that look like bugs
overflow counter reaches the indirect draw unclamped
heads up on #9083 this adds the spreading fix that one's on me. the stride used |
|
Thanks @aashu2006, good catch on the |
|
ok I finally got around to putting up some fixes, @aashu2006 lmk what you think! |
Resolves #9081
Changes:
createStorageList, which is likecreateStorageBufferbut is variable-length, where you call.push()on it rather than just writing to indicesinstances()to draw that many itemsPR Checklist
npm run lintpasses